package nc.bs.obm.tradetail.ace.bp;

import nc.impl.pubapp.pattern.data.vo.SchemeVOQuery;
import nc.ui.querytemplate.querytree.IQueryScheme;
import nc.vo.obm.tradetail.TradetailVO;
import nc.vo.pubapp.query2.sql.process.QuerySchemeProcessor;

public class AceTradetailBP {

	public TradetailVO[] queryByQueryScheme(IQueryScheme querySheme) {
		QuerySchemeProcessor p = new QuerySchemeProcessor(querySheme);
		p.appendFuncPermissionOrgSql();
		return new SchemeVOQuery<TradetailVO>(TradetailVO.class).query(querySheme, null);
	}
}
